create Translation
Creates a translation transformation matrix.
Return
A new AffineTransformationMatrix3 representing the translation.
Parameters
x
The translation along the x-axis.
y
The translation along the y-axis.
z
The translation along the z-axis.
Creates a translation transformation matrix from a vector.
Return
A new AffineTransformationMatrix3 representing the translation.
Parameters
translation
The translation vector containing x, y, and z components.